<?php
/**
 * 商品分类关联模型层
 * 
 * @copyright 	Copyright (c) 2011 thinkapk.com All rights reserved.
 * @package 	ThinkAPK_Model
 * @link 		http://www.thinkapk.com/
 * @author 		richie <richbossman@163.com>
 * @version 	$Id: GoodsCatModel.class.php 7569 2011-06-01 12:49:11Z richie $
 * 
 */
class GoodsCatModel extends CommonModel {
	//分类作为扩展分类下的商品ID
	public function getExtensionGoodsId($cats=''){
		$goodsId = $this->where($this->dbIn($cats, 'cat_id'))->group('goods_id')->getField('goods_id,goods_id');
		return $goodsId;
	}
}
?>